<template>
  <div>
    <div class="section-lazyonload" :style="{ height: tabHeight }">
      <div class="tools-section">
        <div class="panel-block-container-section__top">
          <ul class="panel-block-container-kind__wrap">
            <li
              class="material-kind"
              v-for="(item, index) in materialKind"
              :key="index"
              @click="active = index"
              :class="active == index ? 'active' : ''"
            >
              <div class="material-kind__mask"></div>
              <div class="material-kind__img">
                <div
                  class="tools-img"
                  :style="`background-image:url(${item.src})`"
                ></div>
              </div>
            </li>

            <li class="material-wrap"></li>
          </ul>
          <div class="leftPanel-tools-chart">
            <hr class="leftPanel__hr" />
            <div class="leftPanel-tools-chart-content">
              <div class="leftPanel-tools-chart-content-top">
                <span class="selectTextBlock active">图表</span>
                <span class="selectTextBlock disable">数据</span>
                <span class="selectTextBlock disable">设置</span>
              </div>
              <div class="leftPanel-tools-chart-content-items">
                <div class="leftPanel-tools-chart-item1">
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-0.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-1.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-2.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-3.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-4.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-5.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-6.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-7.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-8.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-9.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-10.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-11.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-12.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-13.svg"
                    />
                  </div>
                  <div class="leftPanel-tools-chart-item1-type">
                    <img
                      src="https://www.chuangkit.com/designdist/chart-v3-14.svg"
                    />
                  </div>
                </div>
                <!---->
                <!---->
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ["tabHeight"],
  name: "words",
  data() {
    return {
      active: 0,
      materialKind: [
        {
          src: "https://www.chuangkit.com/designdist/leftPanel-s-charts.svg"
        },
        {
          src: "https://www.chuangkit.com/designdist/leftPanel-s-qrCode.svg"
        },
        {
          src: "https://www.chuangkit.com/designdist/leftPanel-s-table.svg"
        }
      ]
    };
  },
  computed: {},
  created() {},
  mounted() {},
  methods: {
    tabHandleClick() {
      console.log("tabHandleClick");
    }
  }
};
</script>

<style lang="less" scoped>
@import "../../styles/leftPanel/index.less";
@import "../../styles/leftPanel/tools.less";

::-webkit-scrollbar-track {
  background-color: #eee;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}
/deep/.el-input__inner {
  margin: 24px 24px 16px;
  width: 256px;
  height: 40px;
  box-sizing: border-box;
  padding: 0 40px 0 16px;
  border: 1px solid transparent;
  position: relative;
  border-radius: 4px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  outline: none;
  text-align: center;
  background-color: #eaebf3;
}
</style>
